//
//  BC_Hashvalue.h
//  CocOth
//
//  Created by BrunoCausse on 11/03/11.
//  Copyright 2011 poulailler cie. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface BC_Hashvalue : NSObject {
@private
    unsigned char reserve;			//	  8 bits
    unsigned char depth;			//	  8 bits
    unsigned char selectivity;		//	  8 bits
    unsigned char move;				//	  8 bits
    short lower;					//	 16 bits
    short upper;					//	 16 bits
    // = 64 bits
}

@property (readwrite, nonatomic) unsigned char depth, selectivity, move;
@property (readwrite, nonatomic) short lower, upper; 

- (id)initWithPacked:(unsigned long long)packed;

- (unsigned long long)wide_2_compact;
- (void)compact_2_wide:(unsigned long long)packed;

@end

